home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Container / Sources / PartInfo.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.9 KB  |  96 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PartInfo.fr
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef FWPART_FR
  15. #include "FWPart.fr"
  16. #endif
  17.  
  18. #ifndef DEFINES_K
  19. #include "Defines.k"
  20. #endif
  21.  
  22. #ifndef BINDING_K
  23. #include "Binding.k"
  24. #endif
  25.  
  26. #ifndef SLGCONST_K
  27. #include "SLGConst.k" 
  28. #endif
  29.  
  30. #ifndef FWVIEWS_FR
  31. #include "FWViews.fr"
  32. #endif
  33.  
  34. //----------------------------------------------------------------------------------------
  35. //    PartInfo Resource
  36. //----------------------------------------------------------------------------------------
  37.  
  38. resource FW_RPartInfo(kPartInfoID)
  39. {
  40.     // ----- Icon ID
  41.     kViewAsIconID,
  42.     
  43.     // ----- MenuBar ID
  44.     kMenuBar,
  45.     
  46.     // ----- Document Window ID
  47.     0,
  48.     
  49.     // ----- Part Name
  50.     kODFContainerEditorUserString,
  51.     
  52.     // ----- PartKind
  53.     kODFContainerKind
  54. };
  55.  
  56. //----------------------------------------------------------------------------
  57. //    About Resource
  58. //----------------------------------------------------------------------------
  59.  
  60. resource FW_RAbout(kAbout)
  61. {
  62.     // ----- Icon ID
  63.     kAboutIconID,
  64.     // ----- Part Name
  65.     FW_RStyledText
  66.     (
  67.         FW_FIX(18), 
  68.         FW_kBold, 
  69.         "times", 
  70.         "ODFContainer"
  71.     ),
  72.     // ----- Version Number
  73.     FW_RStyledText
  74.     (
  75.         FW_FIX(9),
  76.         FW_kPlain,
  77.         "geneva",
  78.         "ODF Release 2"
  79.     ),
  80.     // ----- Credits
  81.     FW_RStyledText
  82.     (
  83.         FW_FIX(9),
  84.         FW_kPlain,
  85.         "geneva",
  86.         "ODFContainer is an embedding part editor supporting multiple embedded frames. "
  87.         "Embedded parts may be resized and moved, cut, copied, cleared, and pasted, "
  88.         "dragged and dropped.  All of these operations are undoable. "
  89.         "ODFContainer also supports zooming, View As, and scrolling.\r\r"
  90.         "Written by the ODF Team.\r"
  91.     ),
  92.     // ----- ButtonString
  93.     "OK",
  94.     // ----- ButtonSize
  95.     {FW_FIX(0), FW_FIX(0)}
  96. };